const OuterLayout = () => import(/* webpackChunkName:'outerLayout' */ '@/layouts/outer-layout')
const Login = () => import(/* webpackChunkName:'login' */ '@/pages/account/login')
const Register = () => import(/* webpackChunkName:'register' */ '@/pages/account/register')
const Forget = () => import(/* webpackChunkName:'forget' */ '@/pages/account/forget')

const route = {
	name: 'Account',
	path: '/',
	component: OuterLayout,
	children: [
		{
			name: 'Login',
			path: '/',
			component: Login,
			meta: {
				title: '登录',
			},
		},
		{
			name: 'Register',
			path: '/account/register',
			component: Register,
			meta: {
				title: '注册',
			},
		},
		{
			name: 'Forget',
			path: '/account/forget',
			component: Forget,
			meta: {
				title: '忘记密码',
			},
		},
	],
}

export default route
